﻿<%@ Language="C#" MasterPageFile="~/AdminCenter/Admin.master" %>
<%@ Register src="../module/Types.ascx" tagname="Types" tagprefix="inal" %>
<script runat="server">
    public int Item_Id = 0;
    public Issued MyText;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.QueryString["id"] != null)
        {
            Item_Id = Convert.ToInt32(Request.QueryString["Id"].ToString().Trim());
            MyText = new Issued(Item_Id);
            
            
        }
    }
</script>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
  <!--{验证库}-->
  <script type="text/javascript" src="../static/js/Verification.js"></script>
  <script type="text/javascript">
      var ReturnPage = "<%=Request.UrlReferrer %>";
      var ReturnNews = "news.aspx?cid=" + <%=MyText.Item_Column %>;
      $(document).ready(function () {
          /* {数据库}栏目绑定 */
          $("#Typ1_0").val(<%=MyText.Item_Column %>);
          /* 返回栏目信息绑定 */
          $("#Typ1_0").change(function () {
              ReturnNews = "news.aspx?cid=" + $("#Typ1_0").val()+"&lang="+GetVal("lang",1);
          })

      });
  </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"><%=Lang.Show("Issued")%> - <%=Lang.Show("Use")%>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <p><%=Lang.Show("IssuedUseText") %></p>
    <div class="ch10"></div>
<table>
<tr>
    <td><%=Lang.Show("Columns")%> :</td>
    <td><inal:Types runat="server" Type="1"  /></td>
    <td><div id="Validate-Typ1_0"></div></td>
    <td></td>
</tr>
</table>
<hr />
<button class="button" onclick="IssuedUse(ReturnNews)"><%=Lang.Show("Submit")%></button>
</asp:Content>

